package cn.huiyunche.base.service.vo;

import cn.huiyunche.base.service.enums.DWaybillStatusEnum;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 上线／刷新排队
 *
 * @author houjianhui
 */
public class ShowOrderVo implements Serializable {

    private static final long serialVersionUID = 5966862925623802079L;

    private Long id;
    private Integer userStatus; // 用户状态
    private String orderCode; // 中联TMS订单编号
    private Date orderTime; // 下单时间
    private String showTime; // 显示时间
    private String showDate; // 显示日期
    private String showWaybillDate; // 显示日期
    private Integer status; // 运单状态
    private String statusText; // 运单状态描述
    private String departProvince; // 发车省
    private String departCity; // 发车市
    private String departCounty; // 发车区县
    private String arrivalProvince; // 送达省
    private String arrivalCity; // 送达市
    private String arrivalCounty; // 送达县
    private String arrivalAddress; // 送达地址
    private BigDecimal orderPrice; // 运单价格
    private BigDecimal extraCost; //附加运费
    private String specialRequired; //特殊要求
    private int waybillType; //运单类型(0：全部；10：普通运单；20：急发单)
    private String departAddr; // 发车地址
    private String arrivalAddr; // 目的地址
    private Boolean isDamage; // 是否带伤运单
    private Integer damageAudit; // 是否审核通过（0:审核中，1：已通过审核，2:未通过审核）
    private Boolean isCheckLocalPic; // 是否可以选择本地照片（0:否，1:是）

    public String getShowWaybillDate() {
        return showWaybillDate;
    }

    public void setShowWaybillDate(String showWaybillDate) {
        this.showWaybillDate = showWaybillDate;
    }

    public String getShowDate() {
        return showDate;
    }

    public void setShowDate(String showDate) {
        this.showDate = showDate;
    }

    public String getShowTime() {
        return showTime;
    }

    public void setShowTime(String showTime) {
        this.showTime = showTime;
    }

    public Integer getUserStatus() {
        return userStatus;
    }

    public void setUserStatus(Integer userStatus) {
        this.userStatus = userStatus;
    }

    public String getOrderCode() {
        return orderCode;
    }

    public void setOrderCode(String orderCode) {
        this.orderCode = orderCode;
    }

    public Date getOrderTime() {
        return orderTime;
    }

    public void setOrderTime(Date orderTime) {
        this.orderTime = orderTime;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getDepartProvince() {
        return departProvince;
    }

    public void setDepartProvince(String departProvince) {
        this.departProvince = departProvince;
    }

    public String getDepartCity() {
        return departCity;
    }

    public void setDepartCity(String departCity) {
        this.departCity = departCity;
    }

    public String getDepartCounty() {
        return departCounty;
    }

    public void setDepartCounty(String departCounty) {
        this.departCounty = departCounty;
    }

    public String getArrivalProvince() {
        return arrivalProvince;
    }

    public void setArrivalProvince(String arrivalProvince) {
        this.arrivalProvince = arrivalProvince;
    }

    public String getArrivalCity() {
        return arrivalCity;
    }

    public void setArrivalCity(String arrivalCity) {
        this.arrivalCity = arrivalCity;
    }

    public String getArrivalCounty() {
        return arrivalCounty;
    }

    public void setArrivalCounty(String arrivalCounty) {
        this.arrivalCounty = arrivalCounty;
    }

    public String getArrivalAddress() {
        return arrivalAddress;
    }

    public void setArrivalAddress(String arrivalAddress) {
        this.arrivalAddress = arrivalAddress;
    }

    public BigDecimal getOrderPrice() {
        return orderPrice;
    }

    public void setOrderPrice(BigDecimal orderPrice) {
        this.orderPrice = orderPrice;
    }

    public String getStatusText() {
        return status == null ? "" : DWaybillStatusEnum.getByValue(status).getText();
    }

    public void setStatusText(String statusText) {
        this.statusText = statusText;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getDepartAddr() {
        return departAddr;
    }

    public void setDepartAddr(String departAddr) {
        this.departAddr = departAddr;
    }

    public String getArrivalAddr() {
        return arrivalAddr;
    }

    public void setArrivalAddr(String arrivalAddr) {
        this.arrivalAddr = arrivalAddr;
    }

    public Boolean getIsDamage() {
        return isDamage;
    }

    public void setIsDamage(Boolean isDamage) {
        this.isDamage = isDamage;
    }

    public Integer getDamageAudit() {
        return damageAudit;
    }

    public void setDamageAudit(Integer damageAudit) {
        this.damageAudit = damageAudit;
    }

    public Boolean getIsCheckLocalPic() {
        return isCheckLocalPic;
    }

    public void setIsCheckLocalPic(Boolean isCheckLocalPic) {
        this.isCheckLocalPic = isCheckLocalPic;
    }

    public BigDecimal getExtraCost() {
        return extraCost;
    }

    public void setExtraCost(BigDecimal extraCost) {
        this.extraCost = extraCost;
    }

    public String getSpecialRequired() {
        return specialRequired;
    }

    public void setSpecialRequired(String specialRequired) {
        this.specialRequired = specialRequired;
    }

    public int getWaybillType() {
        return waybillType;
    }

    public void setWaybillType(int waybillType) {
        this.waybillType = waybillType;
    }

    @Override
    public String toString() {
        return "ShowOrderVo{" +
                "id=" + id +
                ", userStatus=" + userStatus +
                ", orderCode='" + orderCode + '\'' +
                ", orderTime=" + orderTime +
                ", showTime='" + showTime + '\'' +
                ", showDate='" + showDate + '\'' +
                ", showWaybillDate='" + showWaybillDate + '\'' +
                ", status=" + status +
                ", statusText='" + statusText + '\'' +
                ", departProvince='" + departProvince + '\'' +
                ", departCity='" + departCity + '\'' +
                ", departCounty='" + departCounty + '\'' +
                ", arrivalProvince='" + arrivalProvince + '\'' +
                ", arrivalCity='" + arrivalCity + '\'' +
                ", arrivalCounty='" + arrivalCounty + '\'' +
                ", arrivalAddress='" + arrivalAddress + '\'' +
                ", orderPrice=" + orderPrice +
                ", extraCost=" + extraCost +
                ", specialRequired='" + specialRequired + '\'' +
                ", waybillType=" + waybillType +
                ", departAddr='" + departAddr + '\'' +
                ", arrivalAddr='" + arrivalAddr + '\'' +
                ", isDamage=" + isDamage +
                ", damageAudit=" + damageAudit +
                ", isCheckLocalPic=" + isCheckLocalPic +
                '}';
    }
}
